package com.hmall.common.config;

import com.hmall.common.interceptor.MyFeignInterceptor;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;



/**
 * @Author dml
 * Date on 2022/7/15 0015
 */

@Configuration
public class FeginConfig {

    @Bean
    public RequestInterceptor requestInterceptor(){
        return new MyFeignInterceptor();
    }

}

